<template>
    <el-card shadow="never">
        <userView :config="config"></userView>
    </el-card>
</template>
<script setup>
import userView from "@/components/userView.vue"
import http from "@/api/build"
console.log(http.usersOne)
const config = {
    API: {
        del: http.usersOne,
        get: http.users_list,
        edit: http.users_put,
        add: http.users_post_add,
    },
    data: [
        {
            field: "id",
            label: "id",
        },
        {
            field: "account",
            label: "账号",
            query: true,
        },
        {
            field: "password",
            label: "密码",
        }
    ],
    dataVip: [
       {
            field: "account",
            label: "账号",
           operate: true,
        },
        {
            field: "password",
            label: "密码",
           operate: true,
        }
    ]
}

</script>
<style scoped></style>